home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Messaging Service Access Module / Internet PMSAM / Internet PMSAM ReadMe next >
Encoding:
Text File  |  1993-11-07  |  5.2 KB  |  100 lines  |  [ttro/ttxt]

  1. AOCE Software Developers Kit 1.0                                                                                                            November 5, 1993
  2. -----------------------------------------------------------------------------
  3. Internet PMSAM
  4. 10/28/93
  5.  
  6. This PMSAM routes mail between AOCE and Internet-based mail accounts.  It uses the SMTP (Simple Mail Transfer Protocol) to send mail and the POP (Post Office Protocol version 3) to fetch mail.  It is an on-demand gateway, meaning that it will download messages to the Mac immediately instead of waiting for the user to open them.
  7.  
  8. The PMSAM has been written as a background only application, and its associated address and setup Directory Extension Templates are included in the PMSAM file itself, so it has a one step installation process.
  9.  
  10. How to install
  11. -------------
  12.  
  13. 1) Drag the file "Internet PMSAM" to your Extensions Folder and reboot.
  14.  
  15. 2) Next, open the "PowerTalk Keychain" icon and click on the "Add..." button.  You'll get a dialog asking what service to add.  Select the "Internet Mail Service" item and click OK.
  16.  
  17. 3) A new icon, called Internet Service will appear in the Setup list.  To open it, double click it or select it and click Open.
  18.  
  19. 4) The configuration window for the PMSAM will now appear.  You need to fill in your user name on the mail host and your password (click the password button and type it in) first.
  20.  
  21. 5) For SMTP server and POP server, enter the IP hostnames that are used for sending mail and receiving mail respectively.  Check with your system administrator if you aren't sure what to put here.  For best results, you probably want to set these to the same host.
  22.  
  23. 6) Enter the send interval and receive interval in minutes.  This is how often the MSAM will contact the remote hosts to send outgoing mail and to receive incoming mail.  Leaving these values at 1/1 is a bad idea except for debugging, since checking for mail may be a time consuming process.  15 minutes or half an hour should be sufficient.  Also, and messages you send from your Mac will be sent out through SMTP immediately.
  24.  
  25. 7) Close the window
  26.  
  27. 8) reboot your Mac (optional)
  28.  
  29.  
  30. How to change your setup information
  31. ----------------------------------
  32.  
  33. If you want to change your setup information (if your name or password changes, or you want to change send/receive times/etc...), you can do this through the same procedure as above.
  34.  
  35. 1) Open the Key Chain icon.
  36.  
  37. 2) Double-click the Internet Service icon.
  38.  
  39. 3) edit your configuration information (note that your old password is required to change your password.
  40.  
  41. 4) close the window.  no need to reboot this time
  42.  
  43.  
  44. How to use it
  45. ------------
  46.  
  47. Once configured, any mail residing on your Internet mail account will be fetched by the PMSAM and will appear in your inbox.  You can send messages by replying to messages routed by the PMSAM, by using the type-in addressing feature in the Mailer, or by creating new addresses in the Personal Directory via the included built-in address template.
  48.  
  49.  
  50. Updating to a newer version
  51. -------------------------
  52. To upgrade to a newer version of the PMSAM, do the following:
  53.  
  54. 1) drag the old PMSAM from the extensions folder to the trash
  55.  
  56. 2) drop the new version of the PMSAM in the Extensions folder
  57.  
  58. 3) reboot
  59.  
  60. 4) open the keychain icon
  61.  
  62. 5) double-click the Internet service in the key chain window
  63.  
  64. 6) close the PMSAM window
  65.  
  66. 7) reboot
  67.  
  68. 8) you should now be running with the new version without losing any mail
  69.  
  70. Other Info
  71. ----------
  72.  
  73. The PMSAM will only send and receive mail when the AOCE Master Key is unlocked.  If you're writing your own PMSAM, you should normally continue routing mail even when the identity is locked if possible.
  74.  
  75. Only text is handled, and enclosures aren't sent, and text is submitted in TEXT blocks, with no font information.  The letter application will format all of these blocks in Monaco 9.
  76.  
  77. If you continue to receive the same message or messages over and over, or if you get a "password is incorrect" report, you may have zombie pop server clients running on your UNIX box.  To fix this, log into your UNIX account using Telnet, then type "ps -aux | grep pop", and look for POP server processes with your user name.  If you find one or more, kill them using the UNIX kill command and try again.  Also, if the MSAM gets caught on a message it can't process, it will try it over and over.  You may have to delete such messages manually.
  78.  
  79. This has only been written as sample code for developers, not for high volume production use, explaining some of the features it doesn't support.
  80.  
  81. Product is packed by weight rather than volume.  During shipping, contents may have settled, rendering product inedible.
  82.  
  83. Compilation Environment:
  84.     MPW
  85.     THINK C 6
  86.  
  87. Restrictions:
  88.         PowerTalk System 7 Pro 1.0
  89.         MacTCP 1.1.1 or later pre-configured (not included)
  90.         An account on a TCP/IP based mail host running POP and SMTP and a connection to         
  91.         that host
  92.  
  93. Author: Steve Falkenburg-DTS, AppleLink: DEVSUPPORT
  94.  
  95. Questions/Comments: As with the other AOCE samples, technical questions should be addressed to DEVSUPPORT.
  96.  
  97. -----------------------------------------------------------------------------
  98. Copyright © 1992-93, Apple Computer Inc. All Rights Reserved.
  99.  
  100. This tool is provided as part of the AOCE SDK.  Use of this tool for any purpose other than the development of AOCE-based Macintosh® products is a violation of the license agreement covering this SDK.